package logisticRegression;

/*
 * This is just a container for the Training information
 */
public class TrainingSet<T> 
{
	//input variables
	public T[] x;
	//target variables aka what you are attempting to predict
	public T y;
	
	public TrainingSet()
	{
		this.x = null;
		this.y = null;
	}
	
	public int getNumberOfInputs ()
	{
		return this.x.length;
	}
	
	public TrainingSet(T[] input, T target)
	{
		//can be a bunch of x's
		this.x = input;
		this.y = target;
	}
}
